With the last button-less modal dialog gone, there's no reason it
should ever be hidden.
https://bugzilla.gnome.org/show_bug.cgi?id=690594
y_align: St.Align.START });
this.buttonLayout = new St.BoxLayout({ style_class: 'modal-dialog-button-box',
- visible: false,
- vertical: false });
+ vertical: false });
this.dialogLayout.add(this.buttonLayout,
{ expand: true,
x_align: St.Align.MIDDLE,
setButtons: function(buttons) {
this.clearButtons();
- this.buttonLayout.visible = (buttons.length > 0);
for (let i = 0; i < buttons.length; i++) {
let buttonInfo = buttons[i];